using System;
using System.ComponentModel;
using System.Linq;

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace ApiTest.Entitys
{
    /// <summary>
    /// 搜索关键词历史
    /// </summary>  
    /// <remarks>
    /// <![CDATA[ENGINE=InnoDB  COMMENT='搜索关键词历史']]>
    /// </remarks>
    [DbSource("Default"), Serializable]
    public class GoodsKeywordHistroy
    {
        /// <summary>
        /// id
        /// </summary>
        /// <remarks>
        /// <![CDATA[bigint NOT NULL COMMENT '']]>
        /// </remarks>
        [Primary(Automatic = true)]
        public long Id { get; set; }

        /// <summary>
        /// 关键词
        /// </summary>
        /// <remarks>
        /// <![CDATA[varchar(255) DEFAULT NULL COMMENT '关键词']]>
        /// </remarks>
        [Column(255)]
        [DisplayName("关键词")]
        public string Keyword { get; set; }

        /// <summary>
        /// create_time
        /// </summary>
        /// <remarks>
        /// <![CDATA[datetime NOT NULL COMMENT '']]>
        /// </remarks>
        [Column(false)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// create_date
        /// </summary>
        /// <remarks>
        /// <![CDATA[int NOT NULL COMMENT '']]>
        /// </remarks>
        [Column(false)]
        public int CreateDate { get; set; }

    }
}
